Fix display of R2L strings in mode line.
authorEli Zaretskii <eliz@gnu.org>
Thu, 16 Jun 2011 16:32:33 +0000 (19:32 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 16 Jun 2011 16:32:33 +0000 (19:32 +0300)
commitca9e739ef224eeb41423776e4db11acd6773feca
tree20dcf32f3c9dafa38fc7ddc9f72d73c660d6e279
parent235df21dfc4cab108d24a520f99d293005fdaae0
Fix display of R2L strings in mode line.
Composed characters still don't work.

 src/xdisp.c (init_iterator): Don't initialize it->bidi_p for strings
 here.
 (reseat_to_string): Initialize it->bidi_p for strings here.
 (next_element_from_string, next_element_from_c_string)
 (next_element_from_buffer): Add xassert's for correspondence
 between IT's object being iterated and it->bidi_it.string
 structure.
 src/bidi.c (bidi_level_of_next_char): Fix the logic for looking up
 the sentinel state in the cache.
src/ChangeLog
src/bidi.c
src/xdisp.c